class Cat:
    def __init__(self,name):
        self.name=name
    def speak(cls):
        print('shout~~~~')

    def miao(self):
        print('miao~~~~~')

cat=Cat('小白')
print(cat.name)
cat.miao()
Cat.miao()
cat.speak()






